/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.mahumLogs.backedbeans;

import java.io.Serializable;
import javax.persistence.Entity;

/**
 *
 * @author Edouard
 */
@Entity
public class Administrateur extends Personne implements Serializable{
    
    private String login;
    private String password;
    private boolean secure;

    /**
     * Constructeur
     */
    public Administrateur() {
        super();
    }

    /**
     * 
     * @return true si l'administrateur à changé le mot de passe par default sinon false
     */
    public boolean isSecure() {
        return secure;
    }

    public void setSecure(boolean secure) {
        this.secure = secure;
    }

    /**
     * @return login
     */
    public String getLogin() {
        return login;
    }

    /**
     * @param login 
     */
    public void setLogin(String login) {
        this.login = login;
    }

    /**
     * @return 
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password 
     */
    public void setPassword(String password) {
        this.password = password;
    } 
}
